.class public Lcom/waiqin365/base/login/d/a;
.super Ljava/lang/Object;


# instance fields
.field a:Lcom/waiqin365/compons/view/c;

.field b:Lcom/waiqin365/compons/view/a;

.field c:Landroid/content/Context;

.field d:I

.field private e:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/16 v0, -0x64

    iput v0, p0, Lcom/waiqin365/base/login/d/a;->d:I

    new-instance v0, Lcom/waiqin365/base/login/d/b;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/d/b;-><init>(Lcom/waiqin365/base/login/d/a;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/d/a;->e:Landroid/os/Handler;

    iput-object p1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    return-void
.end method

.method private a()V
    .locals 5

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    const-string/jumbo v1, "alarm"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/AlarmManager;

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    const-class v3, Lcom/fiberhome/xloc/broadcast/LocTaskReceiver;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v3, Lcom/fiberhome/gaea/client/c/a;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "com.fiberhome.xloc.location"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    const/4 v3, 0x0

    const/high16 v4, 0x8000000

    invoke-static {v2, v3, v1, v4}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/AlarmManager;->cancel(Landroid/app/PendingIntent;)V

    invoke-virtual {v1}, Landroid/app/PendingIntent;->cancel()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/login/d/a;Lcom/waiqin365/base/login/c/a;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/d/a;->b(Lcom/waiqin365/base/login/c/a;)V

    return-void
.end method

.method private b(Lcom/waiqin365/base/login/c/a;)V
    .locals 7

    const v6, 0x7f0806b1

    const/4 v5, 0x0

    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    iget-object v0, v0, Lcom/fiberhome/xloc/d/d;->c:Ljava/lang/String;

    :goto_0
    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->b:Ljava/lang/String;

    if-eqz v1, :cond_0

    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->b:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/xloc/a/b;->a(Landroid/content/Context;)Lcom/fiberhome/xloc/a/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/xloc/a/b;->c()V

    const-string/jumbo v0, "login  setLocTask clearAllData"

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_1
    sget-object v0, Lcom/fiberhome/xloc/d/b;->f:Ljava/lang/String;

    if-nez v0, :cond_2

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-virtual {v2, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "\u624b\u673aIMSI\u53f7\u4e3a\u7a7a,\u8bf7\u63d2\u5165SIM\u5361\u540e\u91cd\u65b0\u767b\u5f55\u3002"

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/base/login/d/e;

    invoke-direct {v5, p0}, Lcom/waiqin365/base/login/d/e;-><init>(Lcom/waiqin365/base/login/d/a;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_2
    return-void

    :cond_1
    const-string/jumbo v0, ""

    goto :goto_0

    :catch_0
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "login  setLocTask clearAllData exception ="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    goto :goto_1

    :cond_2
    new-instance v0, Lcom/waiqin365/compons/view/a;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/d/a;->b:Lcom/waiqin365/compons/view/a;

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->b:Lcom/waiqin365/compons/view/a;

    const-string/jumbo v1, "\u6b63\u5728\u8bbe\u7f6e\u5b9a\u4f4d\u4efb\u52a1..."

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->b:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0, v5}, Lcom/waiqin365/compons/view/a;->a(Z)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/d/a;->a()V

    const-string/jumbo v0, "\u914d\u7f6e\u66f4\u6539\u5173\u95ed\u670d\u52a1"

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/xloc/broadcast/LocTaskReceiver;->a(Landroid/content/Context;)V

    new-instance v0, Lcom/fiberhome/xloc/d/d;

    invoke-direct {v0}, Lcom/fiberhome/xloc/d/d;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v1

    iget-object v1, v1, Lcom/fiberhome/gaea/client/c/c;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/fiberhome/xloc/d/d;->a:Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v1

    iget-object v1, v1, Lcom/fiberhome/gaea/client/c/c;->e:Ljava/lang/String;

    iput-object v1, v0, Lcom/fiberhome/xloc/d/d;->b:Ljava/lang/String;

    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/fiberhome/xloc/d/d;->d:Ljava/lang/String;

    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->c:Ljava/lang/String;

    iput-object v1, v0, Lcom/fiberhome/xloc/d/d;->e:Ljava/lang/String;

    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->b:Ljava/lang/String;

    iput-object v1, v0, Lcom/fiberhome/xloc/d/d;->c:Ljava/lang/String;

    const-wide/16 v2, 0x0

    iput-wide v2, v0, Lcom/fiberhome/xloc/d/d;->g:J

    iget v1, p1, Lcom/waiqin365/base/login/c/a;->q:I

    iput v1, v0, Lcom/fiberhome/xloc/d/d;->h:I

    new-instance v1, Lcom/fiberhome/xloc/d/c;

    invoke-direct {v1}, Lcom/fiberhome/xloc/d/c;-><init>()V

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->b:Ljava/lang/String;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->e:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->l:Ljava/lang/String;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->f:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->m:Ljava/lang/String;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->g:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->g:Ljava/lang/String;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->j:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->h:Ljava/lang/String;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->k:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->n:Ljava/lang/String;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->h:Ljava/lang/String;

    const-string/jumbo v2, "%s%s"

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v4, p1, Lcom/waiqin365/base/login/c/a;->i:Ljava/lang/String;

    aput-object v4, v3, v5

    const/4 v4, 0x1

    iget-object v5, p1, Lcom/waiqin365/base/login/c/a;->j:Ljava/lang/String;

    aput-object v5, v3, v4

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, ":"

    const-string/jumbo v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->i:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->p:Ljava/util/ArrayList;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->o:Ljava/util/ArrayList;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->o:Ljava/util/ArrayList;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/c;->n:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/fiberhome/xloc/d/d;->a(Lcom/fiberhome/xloc/d/c;)V

    invoke-static {v0}, Lcom/fiberhome/xloc/d/b;->a(Lcom/fiberhome/xloc/d/d;)V

    invoke-virtual {v0}, Lcom/fiberhome/xloc/d/d;->a()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/xloc/broadcast/LocTaskReceiver;->b(Landroid/content/Context;)V

    const-string/jumbo v0, "\u5e94\u7528\u767b\u9646:\u53d1\u9001\u72b6\u6001\u66f4\u6539\u8bf7\u6c42"

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "gisLocationSet.localstatus"

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "gisLocationSet.id"

    iget-object v2, p1, Lcom/waiqin365/base/login/c/a;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "gisLocationSet.imsi"

    sget-object v2, Lcom/fiberhome/xloc/d/b;->f:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "gisLocationSet.esn"

    sget-object v2, Lcom/fiberhome/xloc/d/b;->e:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/base/login/b/a/ac;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/base/login/b/a/ac;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/base/login/b/c;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->e:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/c;->start()V

    goto/16 :goto_2

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->b:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-virtual {v2, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "\u5b9a\u4f4d\u4efb\u52a1\u8bbe\u7f6e\u5931\u8d25!"

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/base/login/d/f;

    invoke-direct {v5, p0}, Lcom/waiqin365/base/login/d/f;-><init>(Lcom/waiqin365/base/login/d/a;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_2
.end method


# virtual methods
.method public a(Lcom/waiqin365/base/login/c/a;)V
    .locals 7

    const/4 v3, 0x3

    const/4 v6, 0x2

    const/4 v5, 0x1

    const/4 v4, 0x0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "\u5e94\u7528\u767b\u9646:\u8fd4\u56detask\u503c"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " && loginuserid="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    iget-object v0, p1, Lcom/waiqin365/base/login/c/a;->a:Ljava/lang/String;

    const/4 v1, -0x1

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    sget-object v1, Lcom/fiberhome/xloc/d/b;->f:Ljava/lang/String;

    if-eqz v1, :cond_0

    sget-object v1, Lcom/fiberhome/xloc/d/b;->e:Ljava/lang/String;

    if-nez v1, :cond_1

    :cond_0
    const-string/jumbo v1, "\u5e94\u7528\u767b\u9646:imsi\u6216\u8005imei\u4e3a\u7a7a,\u91cd\u65b0\u521d\u59cb\u5316\u8bbe\u5907\u4fe1\u606f"

    invoke-static {v1}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-static {v1}, Lcom/fiberhome/xloc/d/b;->b(Landroid/content/Context;)V

    :cond_1
    packed-switch v0, :pswitch_data_0

    new-instance v0, Lcom/fiberhome/xloc/d/d;

    invoke-direct {v0}, Lcom/fiberhome/xloc/d/d;-><init>()V

    invoke-static {v0}, Lcom/fiberhome/xloc/d/b;->a(Lcom/fiberhome/xloc/d/d;)V

    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    new-instance v1, Lcom/fiberhome/xloc/d/c;

    invoke-direct {v1}, Lcom/fiberhome/xloc/d/c;-><init>()V

    invoke-virtual {v0, v1}, Lcom/fiberhome/xloc/d/d;->a(Lcom/fiberhome/xloc/d/c;)V

    :cond_2
    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/xloc/a/b;->a(Landroid/content/Context;)Lcom/fiberhome/xloc/a/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/xloc/a/b;->c()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/xloc/d/d;->a()Z

    move-result v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u5e94\u7528\u767b\u9646:\u65e0\u5b9a\u4f4d\u4efb\u52a1\u3001\u5220\u9664\u6216\u6ce8\u9500\u5b9a\u4f4d\u4efb\u52a1\u7ed3\u679c="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    :goto_1
    invoke-direct {p0}, Lcom/waiqin365/base/login/d/a;->a()V

    :goto_2
    return-void

    :pswitch_0
    iput v4, p0, Lcom/waiqin365/base/login/d/a;->d:I

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    const v2, 0x7f080153

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "%s-%s"

    new-array v2, v6, [Ljava/lang/Object;

    iget-object v3, p1, Lcom/waiqin365/base/login/c/a;->i:Ljava/lang/String;

    aput-object v3, v2, v4

    iget-object v3, p1, Lcom/waiqin365/base/login/c/a;->j:Ljava/lang/String;

    aput-object v3, v2, v5

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    const v2, 0x7f080154

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    const v4, 0x7f0806b1

    invoke-virtual {v2, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/base/login/d/d;

    invoke-direct {v5, p0, p1}, Lcom/waiqin365/base/login/d/d;-><init>(Lcom/waiqin365/base/login/d/a;Lcom/waiqin365/base/login/c/a;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, "\u63a5\u53d7"

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, "\u4e0d\u63a5\u53d7"

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    const v2, 0x7f0c0066

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/compons/view/c;->a(II)V

    iget-object v0, p0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_2

    :pswitch_1
    iput v5, p0, Lcom/waiqin365/base/login/d/a;->d:I

    const-string/jumbo v1, "%s|%s|%s"

    new-array v2, v3, [Ljava/lang/Object;

    sget-object v0, Lcom/fiberhome/xloc/d/b;->f:Ljava/lang/String;

    aput-object v0, v2, v4

    sget-object v0, Lcom/fiberhome/xloc/d/b;->e:Ljava/lang/String;

    aput-object v0, v2, v5

    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-static {}, Lcom/fiberhome/xloc/d/b;->d()Lcom/fiberhome/xloc/d/d;

    move-result-object v0

    iget-object v0, v0, Lcom/fiberhome/xloc/d/d;->c:Ljava/lang/String;

    :goto_3
    aput-object v0, v2, v6

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "%s|%s|%s"

    new-array v2, v3, [Ljava/lang/Object;

    iget-object v3, p1, Lcom/waiqin365/base/login/c/a;->e:Ljava/lang/String;

    aput-object v3, v2, v4

    iget-object v3, p1, Lcom/waiqin365/base/login/c/a;->f:Ljava/lang/String;

    aput-object v3, v2, v5

    iget-object v3, p1, Lcom/waiqin365/base/login/c/a;->b:Ljava/lang/String;

    aput-object v3, v2, v6

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    const-class v2, Lcom/fiberhome/xloc/broadcast/LocalService;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    sget v2, Lcom/fiberhome/xloc/d/b;->k:I

    invoke-static {v1, v2}, Lcom/fiberhome/xloc/d/b;->a(Landroid/content/Context;I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-virtual {v1, v0}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    goto/16 :goto_2

    :cond_3
    const-string/jumbo v0, ""

    goto :goto_3

    :cond_4
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "taskid|userid:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p1, Lcom/waiqin365/base/login/c/a;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/d/a;->b(Lcom/waiqin365/base/login/c/a;)V

    goto/16 :goto_2

    :pswitch_2
    iput v6, p0, Lcom/waiqin365/base/login/d/a;->d:I

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/d/a;->b(Lcom/waiqin365/base/login/c/a;)V

    goto/16 :goto_2

    :catch_0
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "login  clearAllData exception ="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_5
    const-string/jumbo v0, "\u5e94\u7528\u767b\u9646:\u83b7\u53d6\u914d\u7f6e\u6587\u4ef6\u5931\u8d25"

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    goto/16 :goto_1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method
